<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>编辑英雄</title>
</head>
<body>
<script type="text/html" id="form">
    <input type="hidden" name="id" value="{{ d.id }}"/>
    <div class="mainBox">
        <div class="main-container">
            <div class="main-container">

                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        英雄名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" lay-verify="required" value="{{d.name}}" autocomplete="off"
                               placeholder="请输入英雄名称" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        英文名称</label>
                    <div class="layui-input-inline">
                        <input type="text" name="short_name" lay-verify="required" value="{{d.short_name}}" autocomplete="off"
                               placeholder="请输入英文名称" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">例如：蔡文姬输入cwj</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        英雄ID</label>
                    <div class="layui-input-block">
                        <input type="text" name="hero_id" lay-verify="required" value="{{d.hero_id}}" autocomplete="off"
                               placeholder="请输入英雄ID" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        英雄昵称</label>
                    <div class="layui-input-block">
                        <input type="text" name="nickname" lay-verify="required" value="{{d.nickname}}"
                               autocomplete="off"
                               placeholder="请输入英雄昵称" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        英雄类型</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="type"
                             data-sourceType="data"
                             data-radio="true"
                             data-max="2"
                             data-source="[{name:'射手',value:'射手'},{name:'战士',value:'战士'},{name:'法师',value:'法师'},{name:'刺客',value:'刺客'},{name:'坦克',value:'坦克'},{name:'辅助',value:'辅助'}]"
                             data-selected="{{=d.type}}"
                             data-layVerify="required"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">
                        <text title="必填项" style="color:red;">*</text>
                        英雄位置</label>
                    <div class="layui-input-block">
                        <div class="xmSelect"
                             data-name="position"
                             data-sourceType="data"
                             data-radio="false"
                             data-source="[{name:'对抗路',value:'对抗路'},{name:'中路',value:'中路'},{name:'发育路',value:'发育路'},{name:'游走',value:'游走'},{name:'打野',value:'打野'}]"
                             data-selected="{{=d.position}}"
                             data-layVerify="required"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">  <text title="必填项" style="color:red;">*</text>顶部图片</label>
                    <div class="layui-input-block">
                        <div class="laytpUpload"
                             data-name="url"
                             data-accept="image"
                             data-type="ali-oss"
                             data-uploaded="{{ d.url }}"
                             data-uploadedId="{{ d.url }}"
                             data-showChoiceBtn="false"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">  <text title="必填项" style="color:red;">*</text>头像</label>
                    <div class="layui-input-block">
                        <div class="laytpUpload"
                             data-name="icon"
                             data-accept="image"
                             data-type="ali-oss"
                             data-uploaded="{{ d.icon }}"
                             data-uploadedId="{{ d.icon }}"
                             data-showChoiceBtn="false"
                        ></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">能力</blockquote>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">生存能力</label>
                        <div class="layui-input-inline">
                            <input type="text" name="survival_ability" value="{{ d.survival_ability}}"
                                   autocomplete="off"
                                   placeholder="请输入生存能力" class="layui-input fangkuai-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">伤害能力</label>
                        <div class="layui-input-inline">
                            <input type="text" name="dmg_ability" value="{{ d.dmg_ability}}" autocomplete="off"
                                   placeholder="请输入伤害能力" class="layui-input fangkuai-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">技能效果</label>
                        <div class="layui-input-inline">
                            <input type="text" name="skill_eff" value="{{ d.skill_eff}}" autocomplete="off"
                                   placeholder="请输入技能效果" class="layui-input fangkuai-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">上手难度</label>
                        <div class="layui-input-inline">
                            <input type="text" name="difficulty" value="{{ d.difficulty}}" autocomplete="off"
                                   placeholder="请输入上手难度" class="layui-input fangkuai-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">克制关系</blockquote>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">克制英雄</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="relation_hero_id1"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_id1}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">克制手段</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="remark1" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.remark1}}</textarea>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">克制英雄</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="relation_hero_id2"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_id2}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">克制手段</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="remark2" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.remark2}}</textarea>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">克制英雄</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="relation_hero_id3"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_id3}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">克制手段</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="remark3" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.remark3}}</textarea>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">被克制关系</blockquote>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">被克制英雄</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="relation_hero_id4"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_id4}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">反制手段</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="remark4" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.remark4}}</textarea>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">被克制英雄</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="relation_hero_id5"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_id5}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">反制手段</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="remark5" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.remark5}}</textarea>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">被克制英雄</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="relation_hero_id6"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_id6}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">反制手段</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="remark6" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.remark6}}</textarea>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">双排组队</blockquote>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">组队英雄</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="relation_hero_one1"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_one1}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">连招描述</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="combo1" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.combo1}}</textarea>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">契合度</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="fit1"
                                 data-sourceType="data"
                                 data-radio="true"
                                 data-source="[{name:'S',value:'S'},{name:'A',value:'A'}]"
                                 data-selected="{{=d.fit1}}"
                            ></div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">组队英雄</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="relation_hero_one2"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_one2}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">连招描述</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="combo2" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.combo2}}</textarea>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">契合度</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="fit2"
                                 data-sourceType="data"
                                 data-radio="true"
                                 data-source="[{name:'S',value:'S'},{name:'A',value:'A'}]"
                                 data-selected="{{=d.fit2}}"
                            ></div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">组队英雄</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="relation_hero_one3"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_one3}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">连招描述</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="combo3" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.combo3}}</textarea>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">契合度</label>
                        <div class="layui-input-block" style="width: 200px">
                            <div class="xmSelect"
                                 data-name="fit3"
                                 data-sourceType="data"
                                 data-radio="true"
                                 data-source="[{name:'S',value:'S'},{name:'A',value:'A'}]"
                                 data-selected="{{=d.fit3}}"
                            ></div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">三排组队</blockquote>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">组队英雄</label>
                        <div class="layui-input-block" style="width: 100px">
                            <div class="xmSelect"
                                 data-name="relation_hero_one4"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_one4}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">组队英雄</label>
                        <div class="layui-input-block" style="width: 100px">
                            <div class="xmSelect"
                                 data-name="relation_hero_two4"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_two4}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">连招描述</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="combo4" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.combo4}}</textarea>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">契合度</label>
                        <div class="layui-input-block" style="width: 100px">
                            <div class="xmSelect"
                                 data-name="fit4"
                                 data-sourceType="data"
                                 data-radio="true"
                                 data-source="[{name:'S',value:'S'},{name:'A',value:'A'}]"
                                 data-selected="{{=d.fit4}}"
                            ></div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">组队英雄</label>
                        <div class="layui-input-block" style="width: 100px">
                            <div class="xmSelect"
                                 data-name="relation_hero_one5"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_one5}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">组队英雄</label>
                        <div class="layui-input-block" style="width: 100px">
                            <div class="xmSelect"
                                 data-name="relation_hero_two5"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_two5}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">连招描述</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="combo5" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.combo5}}</textarea>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">契合度</label>
                        <div class="layui-input-block" style="width: 100px">
                            <div class="xmSelect"
                                 data-name="fit5"
                                 data-sourceType="data"
                                 data-radio="true"
                                 data-source="[{name:'S',value:'S'},{name:'A',value:'A'}]"
                                 data-selected="{{=d.fit5}}"
                            ></div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">组队英雄</label>
                        <div class="layui-input-block" style="width: 100px">
                            <div class="xmSelect"
                                 data-name="relation_hero_one6"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_one6}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">组队英雄</label>
                        <div class="layui-input-block" style="width: 100px">
                            <div class="xmSelect"
                                 data-name="relation_hero_two6"
                                 data-sourceType="route"
                                 data-source="/admin.wz.Hero/list"
                                 data-radio="true"
                                 data-textField="name"
                                 data-valueField="id"
                                 data-selected="{{=d.relation_hero_two6}}"
                            ></div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">连招描述</label>
                        <div class="layui-input-block" style="width: 400px">
                            <div class="layui-input-bloctruek">
                                <textarea name="combo6" placeholder="请输入介绍"
                                          class="layui-textarea">{{=d.combo6}}</textarea>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label two-part-label">契合度</label>
                        <div class="layui-input-block" style="width: 100px">
                            <div class="xmSelect"
                                 data-name="fit6"
                                 data-sourceType="data"
                                 data-radio="true"
                                 data-source="[{name:'S',value:'S'},{name:'A',value:'A'}]"
                                 data-selected="{{=d.fit6}}"
                            ></div>
                        </div>
                    </div>
                </div>


                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">皮肤</blockquote>
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name1" value="{{d.skin_name1}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url1"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url1}}"
                                 data-uploadedId="{{ d.skin_url1}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name2" value="{{d.skin_name2}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url2"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url2}}"
                                 data-uploadedId="{{ d.skin_url2}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name3" value="{{d.skin_name3}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url3"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url3}}"
                                 data-uploadedId="{{ d.skin_url3}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name4" value="{{d.skin_name4}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url4"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url4}}"
                                 data-uploadedId="{{ d.skin_url4}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name5" value="{{d.skin_name5}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url5"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url5}}"
                                 data-uploadedId="{{ d.skin_url5}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name6" value="{{d.skin_name6}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url6"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url6}}"
                                 data-uploadedId="{{ d.skin_url6}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name7" value="{{d.skin_name7}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url7"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url7}}"
                                 data-uploadedId="{{ d.skin_url7}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name8" value="{{d.skin_name8}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url8"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url8}}"
                                 data-uploadedId="{{ d.skin_url8}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name9" value="{{d.skin_name9}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url9"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url9}}"
                                 data-uploadedId="{{ d.skin_url9}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">
                            皮肤名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="skin_name10" value="{{d.skin_name10}}" autocomplete="off"
                                   placeholder="请输入皮肤名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-input-block">
                            <div class="laytpUpload"
                                 data-name="skin_url10"
                                 data-accept="image"
                                 data-type="ali-oss"
                                 data-uploaded="{{ d.skin_url10}}"
                                 data-uploadedId="{{ d.skin_url10}}"
                                 data-showChoiceBtn="false"
                            ></div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <div class="bottom">
        <div class="button-container">
            <button type="submit" class="laytp-btn laytp-btn-primary laytp-btn-sm" lay-submit=""
                    lay-filter="laytp-form">
                <i class="layui-icon layui-icon-ok"></i>
                提交
            </button>
            <button type="reset" class="laytp-btn laytp-btn-sm">
                <i class="layui-icon layui-icon-refresh"></i>
                重置
            </button>
        </div>
    </div>
</script>
<form class="layui-form" lay-filter="layui-form"></form>
<script>
    if (localStorage.getItem("staticDomain")) {
        document.write("<link rel='stylesheet' href='" + localStorage.getItem("staticDomain") + "/component/layui/css/layui.css?v=" + localStorage.getItem("version") + "'>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/layui/layui.js?v=" + localStorage.getItem("version") + "'><\/script>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/laytp/layuiConfig.js?v=" + localStorage.getItem("version") + "'><\/script>");
    } else {
        document.write("<link rel='stylesheet' href='/static/component/layui/css/layui.css?v=" + localStorage.getItem("version") + "'>");
        document.write("<script src='/static/component/layui/layui.js?v=" + localStorage.getItem("version") + "'><\/script>");
        document.write("<script src='/static/component/laytp/layuiConfig.js?v=" + localStorage.getItem("version") + "'><\/script>");
    }
</script>
<script>
    layui.use(['laytp'], function () {
        let form = layui.form;
        let $ = layui.jquery;
        //获取参数ID
        var id = facade.getUrlParam('id');
        if (!id) {
            facade.error('参数ID不能为空');
            return false;
        }

        //获取数据，渲染到对应的节点上
        facade.ajax({
            route: "/admin.wz.hero/info",
            data: {id: id},
            successAlert: false,
            showLoading: true
        }).done(function (res) {
            if (res.code === 0) {
                layui.laytpl($("#form").html()).render(res.data, function (string) {
                    $("form").html(string);
                    layui.laytpForm.render();
                    form.render();
                });
            }
        });

        form.on('submit(laytp-form)', function (data) {
            var btnAnim = layui.button.load({elem: $(this)});
            facade.ajax({
                route: '/admin.wz.hero/edit',
                data: data.field
            }).done(function (res) {
                if (res.code === 0) {
                    parent.layui.layer.close(parent.layui.layer.getFrameIndex(window.name));//关闭当前页
                    parent.layui.table.reload("laytp-table");
                }
                btnAnim.stop();
            }).fail(function () {
                btnAnim.stop();
            });
            return false;
        });
    })
</script>
</body>
</html>